package o;

import com.huawei.appgallery.updatemanager.impl.keysets.dao.AppKeySets;
import java.util.List;

public class dar {
    private static dar ˊ = null;
    private cfu ˎ = euc.ˊ().ʽ(AppKeySets.TABLE_NAME);

    public static synchronized dar ˏ() {
        dar o_dar;
        synchronized (dar.class) {
            if (ˊ == null) {
                ˊ = new dar();
            }
            o_dar = ˊ;
        }
        return o_dar;
    }

    private dar() {
    }

    public void ˎ(AppKeySets appKeySets) {
        this.ˎ.ˋ("packageName_=?", new String[]{appKeySets.ˋ()});
        this.ˎ.ˎ((cfr) appKeySets);
    }

    public void ˊ(String str) {
        this.ˎ.ˋ("packageName_=?", new String[]{str});
    }

    public List<AppKeySets> ˋ() {
        return this.ˎ.ˋ(AppKeySets.class, null);
    }
}
